package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Bao on 2017/8/22.
 */

public class PostCommentsEntity extends BaseEntity implements Serializable {

    private PostCommentDatas data;

    public PostCommentDatas getData() {
        return data;
    }

    public void setData(PostCommentDatas data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "PostCommentsEntity{" +
                "data=" + data +
                '}';
    }

    public static class PostCommentDatas implements Serializable {

        private int next_page;
        private int page_size;
        private int is_end;
        private List<PostComment> list;

        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getIs_end() {
            return is_end;
        }

        public void setIs_end(int is_end) {
            this.is_end = is_end;
        }

        public List<PostComment> getList() {
            return list;
        }

        public void setList(List<PostComment> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "PostCommentDatas{" +
                    "next_page=" + next_page +
                    ", page_size=" + page_size +
                    ", is_end=" + is_end +
                    ", list=" + list +
                    '}';
        }
    }


    public static class SubPostCommentDatas implements Serializable {
        private int next_page;
        private int page_size;
        private int is_end;
        private List<SubPostComment> list;

        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getIs_end() {
            return is_end;
        }

        public void setIs_end(int is_end) {
            this.is_end = is_end;
        }

        public List<SubPostComment> getList() {
            return list;
        }

        public void setList(List<SubPostComment> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "SubPostCommentDatas{" +
                    "next_page=" + next_page +
                    ", page_size=" + page_size +
                    ", is_end=" + is_end +
                    ", list=" + list +
                    '}';
        }
    }

    public static class PostComment implements Serializable {
        private String id;
        private String post_id;
        private String user_id;
        private String comment;
        private int status;
        private String created_at;
        private String commented_at;
        private String comment_id;
        private CommentUser user;
        private SubPostCommentDatas sub_comments;
        private int sub_comment_count;
        private Points points;

        public Points getPoints() {
            return points;
        }

        public void setPoints(Points points) {
            this.points = points;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPost_id() {
            return post_id;
        }

        public void setPost_id(String post_id) {
            this.post_id = post_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getCommented_at() {
            return commented_at;
        }

        public void setCommented_at(String commented_at) {
            this.commented_at = commented_at;
        }

        public String getComment_id() {
            return comment_id;
        }

        public void setComment_id(String comment_id) {
            this.comment_id = comment_id;
        }

        public CommentUser getUser() {
            return user;
        }

        public void setUser(CommentUser user) {
            this.user = user;
        }

        public SubPostCommentDatas getSub_comments() {
            return sub_comments;
        }

        public void setSub_comments(SubPostCommentDatas sub_comments) {
            this.sub_comments = sub_comments;
        }

        public int getSub_comment_count() {
            return sub_comment_count;
        }

        public void setSub_comment_count(int sub_comment_count) {
            this.sub_comment_count = sub_comment_count;
        }

        @Override
        public String toString() {
            return "PostComment{" +
                    "id='" + id + '\'' +
                    ", post_id='" + post_id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", comment='" + comment + '\'' +
                    ", status=" + status +
                    ", created_at='" + created_at + '\'' +
                    ", commented_at='" + commented_at + '\'' +
                    ", comment_id='" + comment_id + '\'' +
                    ", userBean=" + user +
                    ", sub_comments=" + sub_comments +
                    ", sub_comment_count=" + sub_comment_count +
                    '}';
        }
    }

    public static class SubPostComment implements Serializable {

        private String id;
        private String post_id;
        private String user_id;
        private String comment_id;
        private String reply_user_id;
        private String comment;
        private int status;
        private String created_at;
        private CommentUser user;
        private CommentUser reply_user;


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPost_id() {
            return post_id;
        }

        public void setPost_id(String post_id) {
            this.post_id = post_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getComment_id() {
            return comment_id;
        }

        public void setComment_id(String comment_id) {
            this.comment_id = comment_id;
        }

        public String getReply_user_id() {
            return reply_user_id;
        }

        public void setReply_user_id(String reply_user_id) {
            this.reply_user_id = reply_user_id;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public CommentUser getUser() {
            return user;
        }

        public void setUser(CommentUser user) {
            this.user = user;
        }

        public CommentUser getReply_user() {
            return reply_user;
        }

        public void setReply_user(CommentUser reply_user) {
            this.reply_user = reply_user;
        }

        @Override
        public String toString() {
            return "SubPostComment{" +
                    "id='" + id + '\'' +
                    ", post_id='" + post_id + '\'' +
                    ", user_id='" + user_id + '\'' +
                    ", comment_id='" + comment_id + '\'' +
                    ", reply_user_id='" + reply_user_id + '\'' +
                    ", comment='" + comment + '\'' +
                    ", status=" + status +
                    ", created_at='" + created_at + '\'' +
                    ", user=" + user +
                    ", reply_user=" + reply_user +
                    '}';
        }
    }

    public static class Points implements Serializable {
        private int point;
        private int total_point;
        private int level;
        private int point_to_next;

        public int getPoint() {
            return point;
        }

        public void setPoint(int point) {
            this.point = point;
        }

        public int getTotal_point() {
            return total_point;
        }

        public void setTotal_point(int total_point) {
            this.total_point = total_point;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getPoint_to_next() {
            return point_to_next;
        }

        public void setPoint_to_next(int point_to_next) {
            this.point_to_next = point_to_next;
        }
    }

    public static class CommentUser implements Serializable {

        private String user_id;
        private String cover;
        private String nickname;
        private int vip_level;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public int getVip_level() {
            return vip_level;
        }

        public void setVip_level(int vip_level) {
            this.vip_level = vip_level;
        }

        @Override
        public String toString() {
            return "CommentUser{" +
                    "user_id=" + user_id +
                    ", cover='" + cover + '\'' +
                    ", nickname='" + nickname + '\'' +
                    ", vip_level=" + vip_level +
                    '}';
        }
    }


}


